import java.math.BigDecimal;

public  class PhoneFee {
    private PhoneFee() {

    }
    public static void main(String[]args) {
        Phone p1;
        p1 = new Phone(2022, 4, 10, 10, 31, 20, 2022, 4, 10, 18, 30, 0, true, false);
        long time = TimeCaculation.calculateTimeSpan(p1);
        System.out.println(time);
        BigDecimal fee;
        fee = FeeCaculation.calculateTimeSpan(time);
        System.out.println(fee);

    }
}



